﻿function clearMessages() { 
    if($('#lblMensagem').is(':visible')){
        $('#lblMensagem').slideUp();
    }
}

function addingMoneyMask(element) {
    jQueryPrice(function ($) {
        $(element).priceFormat({
            prefix:'',
            centsSeparator: '.'
        });
    });
}

function addingNumericalMask(element) {
    jQueryMask(function ($) {
        $(element).mask('9?99');
    });
}

function addingDateMask(element) {
    jQueryMask(function ($) {
        $(element).mask('99/99/9999');
    });
}